<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>91dapin</title>
    <!-- Fonts -->
    {{--<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css" rel='stylesheet' type='text/css'>--}}
    {{--<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700" rel='stylesheet' type='text/css'>--}}
    <!-- Styles -->
    <link href="/css/app.css" rel="stylesheet">
    <script src="/js/app.js"></script>
    {{--<link href="{{ elixir('css/app.css') }}" rel="stylesheet"> --}}
    <style>
        body {
            font-family: 'Lato';
        }

        .fa-btn {
            margin-right: 6px;
        }
        .flashy {
            font-family: "Source Sans Pro", Arial, sans-serif;
            padding: 11px 30px;
            border-radius: 4px;
            font-weight: 100;
            position: fixed;
            bottom: 20px;
            right: 20px;
            font-size: 12px;
            color: #fff;
        }
    </style>
</head>
<body id="app-layout">
<nav class="navbar navbar-default">
    <div class="container">
        <div class="navbar-header">

        </div>
        <div>
            <ul class="nav navbar-nav pull-left">
                <li><a href="{{ url('/index') }}">首页</a></li>
            </ul>
            <!-- Right Side Of Navbar -->
            <ul class="nav navbar-nav pull-right">
                <!-- Authentication Links -->
                @if (Auth::check())
                    <li class="pull-right"><a href="{{ url('/userLoginOut') }}">退出</a></li>
                    <li class="pull-right"><a href="javascript:;">{{ Auth::user()->username }}</a></li>
                    {{--<li class="pull-right"><img src="{{ Auth::user()->headimgurl }}" alt="" width="25px"></li>--}}
                @endif
            </ul>
        </div>
    </div>
</nav>
<meta name="csrf_token" id="token" content="{{ csrf_token() }}">
@yield('content')
<!-- JavaScripts -->
{{--<script src="/js/bootstrap.min.js"></script>--}}
<script src="/js/default.js"></script>
</body>
</html>